# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias ls='ls --color=auto'

_COLOR_BIWHITE="\[\e[1;97m\]"
_COLOR_GREEN="\[\e[01;32m\]"
_COLOR_NORMAL="\[\e[0m\]"
_SERVICE_NAME="vscode-server"
export PS1="${_COLOR_BIWHITE}(${_SERVICE_NAME})${_COLOR_NORMAL}${_COLOR_GREEN}[\u@\h \W]\\$ ${_COLOR_NORMAL}"

export GOROOT="/home/leozhang/golang/go"
export GOPATH="/home/leozhang/golang/workspace"
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

export PYENV_ROOT="$HOME/.pyenv"
if [ -d "${PYENV_ROOT}" ]; then
    export PATH="$PYENV_ROOT/bin:$PATH"
    eval "$(pyenv init -)"
    eval "$(pyenv virtualenv-init -)"
fi
